﻿<UserControl x:Class="MassMailing.WPF.SMTPSettingUserControl"
			 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
			 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
			 xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
			 xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
			 mc:Ignorable="d" 
			 d:DesignHeight="258" d:DesignWidth="375">
	<Grid>
		<Grid.RowDefinitions>
			<RowDefinition Height="43*" />
			<RowDefinition Height="43*" />
			<RowDefinition Height="86*" />
			<RowDefinition Height="43*" />
			<RowDefinition Height="43*" />
		</Grid.RowDefinitions>
		<Grid.ColumnDefinitions>
			<ColumnDefinition MaxWidth="100" />
			<ColumnDefinition />
		</Grid.ColumnDefinitions>
		<Label Content="SMTP Server:" Height="28" HorizontalAlignment="Right" HorizontalContentAlignment="Right" Margin="0,5,0,0" x:Name="lblSMTPServer" VerticalAlignment="Top" Width="77.063" />
		<TextBox Grid.Column="1" Height="23" Margin="8,7,0,12" x:Name="txtSMTPServer" Width="253" HorizontalAlignment="Left" />
		<Label Content="Enable SSL:" Height="28" HorizontalAlignment="Right" HorizontalContentAlignment="Right" Margin="0,5,0,0" x:Name="lblEnableSSL" VerticalAlignment="Top" Width="85" Grid.Row="1" d:LayoutOverrides="HorizontalAlignment" />
		<CheckBox Grid.Column="1" Margin="8,12,245,18" x:Name="chkEnableSSL" Grid.Row="1" />
		<Grid Grid.ColumnSpan="2" Grid.Column="0" Grid.Row="2">
			<Grid.RowDefinitions>
				<RowDefinition Height="43*" />
				<RowDefinition Height="43*" />
			</Grid.RowDefinitions>
			<Grid.ColumnDefinitions>
				<ColumnDefinition MaxWidth="100" />
				<ColumnDefinition MaxWidth="75"/>
				<ColumnDefinition MaxWidth="175" />
				<ColumnDefinition MaxWidth="75"/>
			</Grid.ColumnDefinitions>
			<Label Grid.Column="0" Content="Port:" Height="28" HorizontalAlignment="Right" HorizontalContentAlignment="Right" Margin="0,5,0,0" x:Name="lblPort" VerticalAlignment="Top" Width="33.73" Grid.Row="0" d:LayoutOverrides="HorizontalAlignment" />
			<TextBox Grid.Column="1" Height="23" Margin="8,12,8,12" x:Name="txtPort" HorizontalAlignment="Stretch" Grid.Row="0" />
			<Label Grid.Column="2" Content="Burst Size (# emails):"  Height="28" HorizontalAlignment="Right" HorizontalContentAlignment="Right" Margin="0,5,0,0" x:Name="lblBurstSize" VerticalAlignment="Top" Grid.Row="0" d:LayoutOverides="HorizontalAlignment" />
			<TextBox Grid.Column="3" Height="23" Margin="8,12,8,12" x:Name="txtBurstSize" HorizontalAlignment="Stretch" Grid.Row="0"/>
			<Label Grid.Column="0" Content="Max Emails Sent:" Height="28" HorizontalAlignment="Right" HorizontalContentAlignment="Right" Margin="0,5,0,0" x:Name="lblMaximumSentEmails" VerticalAlignment="Top" Width="100" Grid.Row="1" d:LayoutOverrides="HorizontalAlignment" />
			<TextBox Grid.Column="1" Height="23" Margin="8,12,8,12" x:Name="txtMaximumEmailsSent" HorizontalAlignment="Stretch" Grid.Row="1" />
			<Label Grid.Column="2" Content="Burst Delay (seconds):" Height="28" HorizontalAlignment="Right" HorizontalContentAlignment="Right" Margin="0,5,0,0" x:Name="lblBurstDelay" VerticalAlignment="Top" Grid.Row="1" d:LayoutOverrides="HorizontalAlignment" />
			<TextBox Grid.Column="3" Height="23" Margin="8,12,8,12" x:Name="txtBurstDelay" HorizontalAlignment="Stretch" Grid.Row="1" />
		</Grid>
		<Label Content="Email Address:" Height="28" HorizontalAlignment="Right" HorizontalContentAlignment="Right" Margin="0,5,0,0" x:Name="lblEmailAddress" VerticalAlignment="Top" Width="86" Grid.Row="3" d:LayoutOverrides="HorizontalAlignment" />
		<TextBox Grid.Column="1" Height="23" Margin="8,7,0,12" x:Name="txtEmailAddress" Width="253" HorizontalAlignment="Left" Grid.Row="3" />
		<Label Content="Password:" Height="28" HorizontalAlignment="Right" HorizontalContentAlignment="Right" Margin="0,5,0,0" x:Name="lblPassword" VerticalAlignment="Top" Width="86" Grid.Row="4" d:LayoutOverrides="HorizontalAlignment" />
		<TextBox Grid.Column="1" Height="23" Margin="8,7,0,12" x:Name="txtPassword" Width="253" HorizontalAlignment="Left" Grid.Row="4" />
	</Grid>
</UserControl>
